package com.scau.classOnline.entity;

import java.util.Date;

public class Course {
    private Integer id;

    private Integer uid;

    private String title;

    private String iconUrl;

    private String info;

    private Integer total;

    private Boolean finished;

    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getIconUrl() {
        return iconUrl;
    }

    public void setIconUrl(String iconUrl) {
        this.iconUrl = iconUrl == null ? null : iconUrl.trim();
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info == null ? null : info.trim();
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Boolean getFinished() {
        return finished;
    }

    public void setFinished(Boolean finished) {
        this.finished = finished;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Course{" +
                "id=" + id +
                ", uid=" + uid +
                ", title='" + title + '\'' +
                ", iconUrl='" + iconUrl + '\'' +
                ", info='" + info + '\'' +
                ", total=" + total +
                ", finished=" + finished +
                ", createTime=" + createTime +
                '}';
    }
}